package com.xzssmk.leisure.x.mapper;

import java.util.List;

import com.xzssmk.leisure.x.vo.OrderReportVo;
import org.apache.ibatis.annotations.Param;

import com.xzssmk.leisure.x.po.OrderConsume;
import com.xzssmk.leisure.x.po.OrderConsumeExample;
import com.xzssmk.leisure.x.vo.SaleCardReportVo;

public interface OrderConsumeMapper {
    long countByExample(OrderConsumeExample example);

    int deleteByExample(OrderConsumeExample example);

    int deleteByPrimaryKey(Integer orderId);

    int insert(OrderConsume record);

    int insertSelective(OrderConsume record);

    List<OrderConsume> selectByExample(OrderConsumeExample example);

    OrderConsume selectByPrimaryKey(Integer orderId);

    int updateByExampleSelective(@Param("record") OrderConsume record, @Param("example") OrderConsumeExample example);

    int updateByExample(@Param("record") OrderConsume record, @Param("example") OrderConsumeExample example);

    int updateByPrimaryKeySelective(OrderConsume record);

    int updateByPrimaryKey(OrderConsume record);

    List<SaleCardReportVo> getSaleCardReportList(Integer issuePeriodId);

    List<OrderReportVo> bbgetOrderList(@Param("issuePeriodId") String issuePeriodId, @Param("purchaseMethod") String purchaseMethod);
}